package com.thinkgem.rogrand.common.utils;


public enum SysCode {
    INTERFACE_INVAILD_ERROR("4", "加密校验不通过，非法请求"),
    INTERFACE_SUCCESS("0", "验证码已经发送"),
    INTERFACE_UPDATE_PHONE_SUCCESS("0", "验证码已经发送"),
    INTERFACE_ERROR_PARAM("2", "参数错误"),
    INTERFACE_ERROR_CODE("2", "验证码错误"),
    INTERFACE_PHONE_ALREADY_BINGDING_CODE("2", "该手机号已绑定其他账户"),
    INTERFACE_PHONE_SAME_CODE("2", "请输入新手机号"),
    INTERFACE_LOGOUT_SUCCESS("0","退出登录成功"),
    INTERFACE_USER_SUCCESS("0", "用户已创建，请等待审核"),
    INTERFACE_REFRESH_TOKEN_SUCCESS("0", "刷新Token成功"),
    INTERFACE_LOGIN_SUCCESS("0", "登录成功");

    private String code;
    private String message;

    SysCode(String code, String message) {
        this.code = code;
        this.message = message;
    }

    public String getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public void setMessage(String message) {
        this.message = message;
    }

}
